package com.example.jobback.dto;

import com.example.jobback.common.enums.RecruiterType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName: RecruiterRegisterDto
 * @Description: 招聘者注册类，缓存在redis中
 * @Author: lhb
 * @Date: 2025/5/17
 */
@Data
@Schema(title = "审核注册公司数据传输体")
public class RecruiterRegisterDto {

    /**
     * @Description: 加密手机号
     * @Author lhb
     * @CreateTime 2025/5/17 16:36
     */
    @Schema(title = "加密电话号码")
    private String phoneAes;

    @Schema(title = "姓名")
    private String userName;

    @Schema(title = "公司名称")
    private String name;

    /**
     * @Description: 公司行业
     * @Author lhb
     * @CreateTime 2025/5/17 16:36
     */
    @Schema(title = "公司行业")
    private String companyIndustry;

    @Schema(title = "地点")
    private String location;

    @Schema(title = "公司创建时间")
    private LocalDateTime createDate;


    /**
     * @Description: 员工类别,设置为boss
     * @Author lhb
     * @CreateTime 2025/5/10 13:44
     */
    @Schema(title = "员工类别")
    private RecruiterType type;


    @Schema(title = "用户id，不是roleId")
    private Long userId;
}
